<%@ page import="framework.util.shiro._ShiroUtil" %>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>牛皮小系统</title>

  <%-- 引入系统框架的支持 --%>
  <jsp:include page="${request.contextPath}/static/include.jsp" flush="true" />
  <%-- 引入字体库 --%>
  <link rel="stylesheet" href="${request.contextPath}/static/font-awesome/css/font-awesome.min.css">
  <%-- 右键菜单插件--%>
  <link rel="stylesheet" type="text/css" href="${request.contextPath}/libs/mouseRight/css/mouseRight.sss">
  <script src="${request.contextPath}/libs/mouseRight/js/mouseRight.js" type="text/javascript" charset="utf-8"></script>

  <%-- index的js --%>
  <script src="static/js/index.js"></script>

  <style>
    .ICP:hover{
      color:black;
      cursor: pointer;
    }

    .layui-nav .layui-nav-child div{
      color: #333;
      padding: 0 20px;
    }
    .layui-nav .layui-nav-child div:hover{
      cursor: pointer;
      background: gainsboro;
    }
  </style>
</head>


<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">牛皮demo网</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="">控制台</a></li>
      <li class="layui-nav-item"><a href="">商品管理</a></li>
      <li class="layui-nav-item"><a href="">用户</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="">邮件管理</a></dd>
          <dd><a href="">消息管理</a></dd>
          <dd><a href="">授权管理</a></dd>
        </dl>
      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
          <%=_ShiroUtil.getCurrentUser().getCname()%>
        </a>
        <dl class="layui-nav-child">
          <%--<dd><a href="">基本资料</a></dd>--%>
          <dd><div>个人信息</div></dd>
          <dd><div onclick="toPage('system/sysUser/changePassword.jsp', {title:'修改密码', width:'25%', height:'40%'})">修改密码</div></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="/Login.do?method=logout">登出</a></li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航）-->
      <dl class="layui-nav layui-nav-tree" lay-filter="layui-leftNav" id="layui-leftNav">
        <%-- 注释原因，demo代码
        <dd class="layui-nav-item">
            <a class="" href="javascript:;" _haschild="true" _lid="1" style="padding-left: 10px;">所有商品</a>
            <dl class="layui-nav-child">
                <dd class="layui-nav-item">
                    <a href="javascript:;" style="padding-left: 20px;">二级菜单1</a>
                    <dl class="layui-nav-child">
                      <dd><a href="javascript:;" style="padding-left: 30px;">三集菜单2</a></dd>
                      <dd><a href="javascript:;" style="padding-left: 30px;">三集菜单3</a></dd>

                      <dd>
                        <a href="javascript:;" style="padding-left: 30px;">三级菜单</a>
                        <dl class="layui-nav-child">
                          <dd><a href="javascript:;" style="padding-left: 40px;">4集菜单1</a></dd>
                          <dd><a href="javascript:;" style="padding-left: 40px;">4集菜单2</a></dd>
                        </dl>
                      </dd>
                    </dl>
                </dd>
                <dd class="layui-nav-item">
                    <a href="javascript:;" style="padding-left: 20px;">二级菜单2</a>
                    <dl class="layui-nav-child">
                      <dd><a href="javascript:;" style="padding-left: 30px;">三集菜单3</a></dd>
                      <dd><a href="javascript:;" style="padding-left: 30px;">三集菜单4</a></dd>
                    </dl>
                </dd>
                <dd><a href="javascript:;" _haschild="false" _lid="2" _url="/framework/pages/layuiDemo/btn.jsp" style="padding-left: 20px;">按钮</a></dd>
                <dd><a href="javascript:;" _haschild="false" _lid="3" _url="/framework/pages/layuiDemo/progress.jsp" style="padding-left: 20px;">进度条</a></dd>
                <dd><a href="javascript:;" _haschild="false" _lid="4" _url="/framework/pages/layuiDemo/table.jsp" style="padding-left: 20px;">表格</a></dd>
                <dd><a href="" style="padding-left: 20px;">超链接</a></dd>
            </dl>
        </dd>
        <dd class="layui-nav-item"><a href="" _haschild="false" style="padding-left: 10px;">云市场</a></dd>
        <dd class="layui-nav-item"><a href="" _haschild="false" style="padding-left: 10px;">发布商品</a></dd>
        --%>
      </dl>

    </div>
  </div>

  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div class="layui-tab" lay-allowClose="true" lay-filter="layui-navTab" id="layui-navTab">
      <ul class="layui-tab-title">
        <%-- tab标题 --%>
      </ul>
      <div class="layui-tab-content">
        <%-- tab内容 --%>
      </div>
    </div>
  </div>

  <div class="layui-footer" style="text-align: center; style: gray;">
    <a target="_blank" class="ICP">粤ICP备19070822号</a>
  </div>
</div>
</body>


</html>